package com.csnf.dao;

import com.csnf.entity.Clazz;
import org.apache.ibatis.annotations.Select;

import java.io.IOException;
import java.util.List;

public interface IClazzDao {
    //查询所有班级
    List<Clazz> findAll() throws IOException;

    @Select("select * from clazz where c_id = #{id}")
    Clazz findById(Integer id) throws IOException;

}
